package com.cnunicom.modules.tra.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author: dingziyuan
 * @Date: 2020/1/9 9:45
 * @Description: 记录人员单位关联表
 */
@Data
public class HisMebUnitVO implements Serializable {

    @ApiModelProperty("住房管理主键")
    @TableId(value = "id")
    private Integer id;

    @ApiModelProperty("会员id")
    @NotNull(message = "会员不能为空")
    private Integer mebId;

    @ApiModelProperty("房型id")
    @NotBlank(message = "房型不能为空")
    private Integer roomtypeId;

    @ApiModelProperty("入住时间")
    @NotBlank(message = "入住时间不能为空")
    private String checkinTime;

    @ApiModelProperty("退房时间")
    @NotBlank(message = "退房时间不能为空")
    private String checkoutTime;

    @ApiModelProperty("逻辑删除")
    private Integer isDel;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

//    @ApiModelProperty(value = "")
    private String def0;

//    @ApiModelProperty(value = "房型名称")
    private String def1;

//    @ApiModelProperty(value = "会员姓名")
    private String def2;

    @ApiModelProperty("会员名称")
    private String mebName;

    @ApiModelProperty("上级名称")
    private String superiorName;

    @ApiModelProperty("楼+房间名称")
    private String floorRoomName;

    @ApiModelProperty("记录日期")
    private String recordDate;

    @ApiModelProperty("记录表的房间价格")
    private BigDecimal price;

    @ApiModelProperty("记录表的节日价格")
    private BigDecimal disPrice;

    @ApiModelProperty("上级id")
    private Long superiorId;

    @ApiModelProperty("上级type")
    private Boolean superiorType;
}
